
from typing import Dict, Union
from pathlib import Path

class Archiver:
    def  __init__(self, packed_file, mode="r") -> None:
        if Path(packed_file).suffix == ".tar":
            pass

        

def unpack(input_archive: Union[Path, str], output_path: Union[Path, str]) -> Dict[str, str]:
    input_archive = Path(input_archive)
    output_path = Path(output_path)